Fix stuck notes on panic or all-notes-off.
Merge pull request #1084 from caoliver/stable-1.1

Fix stuck notes on panic or all-notes-off.
Monstro: optimize
use stack for rendering envs/lfos - this allows us to render them in advance which in turn seems to allow better optimizations by compiler
Merge pull request #1094 from diizy/stable-1.1

Monstro: optimize
Merge pull request #1095 from LMMS/stable-1.1

sync
LMMS Memory Manager
Fix 64 bit, increase mm usage
Fixes
More fixes
Add dedicated manager for noteplayhandles
This caches and reuses nph's independently of the generic memory manager.
Changing and fixing some stuff
- QHash is better to use than QMap in MemoryManager: faster lookups, able to reserve memory in advance
- Also: reserve memory in advance for the QVector and QHash, so we don't get needles allocs for them
- No need to do cleanup for the nph manager, as it uses the generic manager for allocs, and that already gets cleaned up
Use ReadWriteLock for the pools container instead of Mutex
Fix arpeggio to work better with the new way to handle note offsets
Ok, not really related to memory management, but was something that needed doing and it's easier to test things when things work properly
remove tr.whitespace