Switch to separate docked and opened tests

The opened profile test seemed more reliable than the docked test, so it will now always rely upon that for opened status.  The docked test will always be ran, but it's response cannot always be trusted for reasons already enumerated.  This simplifies the logic a bit.

This also turns the error alert into a console.log if possible, as alerting in libraries kind of sucks.  The logic surrounding that may not be 100% on old IE, due to it's oddities surrounding console.

Please Note: Pull request dictated, never tested.