ui: clean up of ui_local.h refs #50
generic: clean up of botlib.h refs #31