Implemented better termination notification
Fixed a nullpointer exception for empty nickname