Refactoring and removing explicit class pointer caused a local variable to mix with a class field. This fix renames the local variable.
This allows privatising several public methods. Also, cleaned up monitor start and stop a bit.
Attempting to break the large main file to smaller chuncks.