Taking care of +/- 0xf roll over for trigger frame number.

Kazu
Merge branch 'framework' of github.com:drinkingkazu/ub_projects into framework