reworked action template so correct buttons appear for each mode
set the content-type header to application/json, added link to macosx launcher