Better test for missing metadata.db (also test if it's readable). re #116
COPS now also work if Pushstate / ReplaceState is not available (IE9). Thanks to At Libitum. should fix #117