Various bugfixes and updated SVN_URL.