General refactor and few bug fixes to lastLog status msg display.