Fixed bugs, and tweaks a bunch of stuff.
Added error pages, and minor changes.
Added module return.
Refactored module loader.
Merge branch 'master'