LowgWriter added, and error handling logic moved outsode OnStart method