Viewer now functions.
Finished editor, pretty much.