Changed keynote_open_then_close to keynote_open_yield_close, fixed some deprication warnings, more to do