Fixed a few bugs and added some web ui backend tools