added onUserQuit-Event and created trcc-plugin