Fixed: Added st_synchronize before final shutdown enquecommand_P called to increase reliability.
Merge remote-tracking branch 'origin/shutdownAtEnd' into Personal-Build