dev/async-handlers

Building upon the async branch, now the handlers for things like navigation and download events are scheduled into the queue so that they don't block the GUI thread.