holoirc: fix multiple minor bugs and cleanup