Draft: Assorted changes
This MR contains the changes I made to Perfarce back when I used it on a daily basis. Posted here for mostly for archival purposes, in case it proves useful for someone in the future.
NB: These changes are old and neither address compatibility with the latest Mercurial nor Python 3. I last used this in 2016, or thereabouts…
Edited by Dan Villiom Podlaski Christiansen