Editor threading, UI/code separation, Implement Event editing

Made two new forms, ApplicationEditor and EventEditor, that are created
when an application or event is edited. Thread tracking ensures only one
window per application/event is possible.

Separated UI code in SAPS.cs into specific systems. UI code should be as
separated as possible.

Implemented the DataGridView and editor for events.