CPMT: Fix some url issues and switch to using QFileSystemWatcher for updating pages.
The filesystemwatcher allows us to also track whether files have been deleted/changed.