Action type SMART_ACTION_SET_INGAME_PHASE_MASK now also shows new phasemask in comments.
Implement SMART_ACTION_SET_ACTIVE to take parameter for on or off instead of always making it on (just PR'd this to TC). Also adjusted comment of SMART_ACTION_SET_VISIBILITY to reflect whether or not the visibility was turned on or not.