Added simple timer for console app with message processing loop