Saved a few cycles and possibly some memory by adding conditionals to inline require statements.  Fixed URL handling.
Fixed various bugs.