Fixed memory manager issue. Now memory boundaries work much better and are handled gracefully.