Changed order of warning/critical.  Using integer variables for timeouts.
Tabs to spaces.