Options pane, some dialogs, and setting up for the new plugin architecture

Signed-off-by: Sukasa <nick.m@shaw.ca>