Make @true and @false work.
Rethrow some exceptions to fix class.

This way, the error message will show the called class instead of the
class used internally.
Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI.