Disabled threading and boolean type
Removed dependency on ENABLE_ERROR_HANDLING for INTERNAL_ERROR_HANDLING