Updated URL opening dialog box, tweaked render code, cleaned up
redundant code.