renamed variables, added cleanup
added file open dialog, option to disable rendering