catch some IO_ERRORs
oops, wx2.8 compatibility fixes