added a feature to get debug output to stdout, even if it is redirected to the IDE message area
switched off redirection for JRuby for now, makes problems when starting IDE from command line (under evaluation)