improvements to visual backend