To do
=====

* Disable open_file wrapper when compiling without debug flag
* Get rid of various magic numbers
* Make tooltip strings cached