implement colon_printf
track repo state and refactor merging code