Added some logging, reduced sleep in main cycle