[WIP] registrar: cleanup comments and debug printing