fixed dealloc delete sequence issues. Added IOError exception throw on hdf5 error. minor tweaks.