don't draw edges twice
draw purple edges
added buttons to toggle rendermode
tweaked qt style