Simplify and speed up QlApplication

Reduce the number of methods to decrease complexity; improve readability
and speed of read/write from/to disk code.

Also fix a potential undesirable side effect of QlApplication::reload()
failures.