Windows that are web views.
The window options.
A window, which may or may not be open.
An event handler; you probably want to implement one.
Run the given function on the main thread.
Terminate the application as gracefully as possible.
Initialize things; call this first.