Add compile time computation unit testing.
Enum-ify event bind mode. Add trim prototype.
Enum-ify library initialization state.
Enum-ify the library version.
Enum-ify the window state.