remove old stuff & refactor redraw a bit
fix #414 zindex not taking effect on style changes but only on init