Remove per-stack mode data as it is no longer used.
Removed the rest of stack mode data hooks.
Merge branch 'develop' into feature-threaded_rendering