ftm sim tools and new ebm
tons of changes to ebm and heap
bugfixes to ftm_priority_queue
- autopop now working correctly
- autoflush by msg limit now working correctly