Finish preliminary stack API.
Begin refactoring quest script. Remove stack methods from quest script.
I ought to collapse these commits. More work on the split.