Fixed bug, changed drawing

Drawing now done with a combination of textures and normal drawing.
When the state changes, ALL connections are set to false, including
those which should output true if their inputs are false, which fixes a
flickering bug.