Daemon causes the console to be null. Check for it.