menu: add window backbuffer stack instead of static buffer, move text functions to ui.a65