added support for opening a url from a cmd argument, and som prep for using webkit layers properly