Bug fixes and code evolution

Fixed various code bugs on code review, adjust timing corrections
through symbol decoding loop.