Slight synthax update.
Script order, error handlers

Increased timeout for init gmail, introduced error-handlers, optimized
script order