Faked a return from the scheduler to thread mode with unpriviledged access using the process stack, amongst other stuff.