holoirc: cleaup & reformat code