I would suspect the sensors for those items. They may be located in the same area of the machine. I am not familiar with your particular model. I was working off of general experience. It is often very difficult to find information on a particular model. I would check those sensor, you can even replace them as a final test. Its less expensive than replacing the control board which would be the next step.
Since you found that the dryer works better with the vent disconnected then you probably realize that your vent going out side is restricted. I hope I have been of help and if you feel I have please leave positive feedback. Thank you for using Just Answer. Bob