Implemented client-side ticket creation.
Improved client-side ticket updating.
Fixed the fucking scoping for the ticket editing popup.