Fix: use "messages" getter only once
Use lazy getter for OS.File API
(#1)
Add ability to write debug logs + "debug" preference
Will be used %profile%/consoleLogger-debug.log file (we can't use console from console listener!)
Don't use cache for patterns.* preferences