Reworked gui: nicer graphics and fixed flickering