get rid of the awful KEY_IS macro
inline a bunch of cpp macros

serenity now!