Added queue/prenotify support to pass all state changes from an action cycle through as a single argument
Whitespace cleanup commit