fix close of action dropdown
add multiple input and outputs on macros, fix found bugs