Solved massively annoying problem where we loaded blank notes which we
could never open. Also, turned the ktgconfig into a singleton for easy
access.