Defines/Typos

These commits get rid of a few define groups and replaces them with enums (in class scopes).
There was also a typo in ActionLayer::receiveEventPlus(...) and two unused variables in Interruptible which are now gone.