ui: move history interaction out of wrapper
ui: rearrange methods
added printf builtin