A large portion of rust_task is now dedicated to fiddling with stacks. This code should probably be extracted into another class.