Multiple top-level loops and experimental support for a browser window

Refactor Artemis to allow different top-level loops in the Runtime class. Right now the normal Artemis top-level loop and an experimental browser window / interactive mode is included.

Relates to #28