Incorporate changes from minui/graphics.c

Do we really need to keep a separate graphics.c for expresslte?