Moved enums to another file, added error handling ability to capture mouse input