Refactoring the URL system, reduces the usage of globals, and no longer swallows all exceptions. Closes #232. @yaauie @arnebrasseur
Clean up trailing whitespace