Fixes #59 by adding bool return value for each event handler function
Fixed readertest compilation error
Merge pull request #61 from miloyip/issue59terminate

Fixes #59 by adding bool return value for each event handler function