added spinner, fixed 'memory leak' when renaming interaction variables