Close #1 - Fix error-handling and URL params

The URL was missing the initial '?' before any
GET-params. This caused a HTTP 404-error, which was not
caught correctly.
Correct error handling and branching off has been fixed,
as has the URL-param-issue.