Beginning another rewrite. The new implementation will now concentrate on creating full scene graphs and allowing better event handling.