Redesigned application launch and exit processes a bit.

Some minor UI improvements.
Application is closed when both (output and processing graph) windows are closed.