fixed a bug which affected minification of file on OSX,
optimized background operation in ST3,
added debug info to the console