Have sch_abort use recursive locking so it's safe to run during process termination.
Give reaper thread a higher priority.
Tidied up amm allocator locking using recursive locks.
Tweaks to map.
Mark pages with AMM after allocation, to avoid overlapping allocations.
Change to locking in sch_end_thread.