Fixed FPS calculation, calculates fps based on average tick size with
weight of 2.5% on most recent tick.
Updated LL and DLL implementations.
Added debug flag