URL handling fixes, earthquake fix (#547)