Implement initial non-functioning UI
Avoid global scope pollution

Up until now every declared variable
in this module was attached to the
global scope, wich is an anti-pattern.

This commit wraps everything in an
IIFE, which creates a top-level closure
and stops global scope pollution.
Remove trailing comma in EDITOR_CONFIG