Added check for null console
Added constructor with Exception parameter
Added --noconsole-action option
Finished version 1.1.1