fixed some opengl context switching bugs.
added an enum selection window to the editor.
added runtime inspection library.
moved the library folder.