Performance improvements by removing temporary objects
Add support for exiting formspecs by doubleclicking outside