In dummy mode, wait a bit between event firing

Also, in dummy mode, set log level to DEBUG by default
Add the concept of 'InvalidFrame' besides 'UnknownFrame'
Added helper function to compute the angular distance between two angles