indicate problems with the door lock assembly communicating with the control board. Essentially, the control board does not beleive the door is closed and/or locked, so it shuts down the machine.Here is the service manual which will tell you how to do some testing of the door lock, but in the end you may need both a control board and a door lock assembly. The good news, they are easy to change out, the bad news, they are expensive parts so you want to be as sure as possible before you buy and install.http://www.servicematters.com/maytag...s/16026126.pdf
the sail switch is a safety device that turns of the dryer if insufficient airflow is detected out of the dryer vent. make sure the dryer vent is clear and air flow out of dryer vent is not obstructed in anyway.
It was smart to check for the dust. It sounds like it might need professional maintenance done or you could replace it with under a warranty. To move forward, please call 1-800-344-1274 . Thank you.