made changes to webgui so libraries are now loaded in the proper order, fixed menu bug