Add CMake option for enabling/disabling idle rate
Fix bad definitions of the ABP queues.
Fix bad forward decls