Major revisions to logging system and fixed no category on video issue