added a open in new window button and fixed a couple of bugs with the da...

...te range