changed url regex, made form more editable and various other bug fixes