Implemented error handleing on 'readAheadWrite';
Fixed the bugs about resume.
1. Prevent resume from running sequently more than once.
2. Fixed bug that doen't work resume button.
Prevent "start" from being called after it's already called.