Cobwebs

Fix for the webui.go file and some other things. Mainly, structural changes and re-organization. It's in working order, at least from what I've seen, so I believe it'd be safe to just merge into development when ready.