Don't open chat window until we have floohandler.

Also log any null pointer exceptions and return instead of blowing up.