Fixes for --no-timeout and compiler warnings

--no-timeout seemed to only prevent the display of the timeout progress indicator.  It didn't actually prevent the timeout.

Also eliminated some compiler warnings.