implement signal with message, fix a bug in sync_engine constructor
Merge pull request #37 from pondering/signal-enhance

implement signal with message, fix a bug in sync_engine constructor