Removing boost dependency

Boost dependency has completely been removed. Both mouse and keyboard callbacks are purely c++ function pointers and cookies.