Added disk operation error handling and first preloader code