Support absolute urls, some bugfixing