Propper hangup handling. Code cleanups