Fixed errors, started adding an example/editor.