Changed logging to console mode and fixed platform-specific issue with timing.