cleaned up SIP file, WrapperException and compiler warnings