Close functionality + more

Put effect specific properties into their own 'bags'
also added a rudimentary Close feature, and UI Widget framework.