Fix build errors on some 64 bit GCC versions.
Cleanup gui_mbox code. Move screen redraw from keyboard task to gui task.