Fixed c syntax python if statement
Added missing handlers from cef1 -> cef3 conversion