Interaction editor

and cleaned up some warnings and errors