Few things:

ShutdownTime.txt check added to preload(),
Rearrangement of cmd argument check,
Moved Window titles to main() and CmdMain()