Instead of a reference to the client's own pseudo, their is now a reference to its User.

Also, disposes of the GUI instead of doing a system.quit, which apparently is softer.
Chnaged imports for the change of the package Events to utilities.events