moved check for options.console to a place where options object is set.

fix for issue #36