Check if console exists, try not to break too much stuff
Merge pull request #2 from JuhQ/check-console

Try not to break too much stuff