Add call to GetCaption & SetCaption. Steal some more error checking logic from pygame