Fix bugs preventing compilation in Stack and Quest scripts.
Refactor menu script for split-off stack. Add methods to quest script to
enable menu script options.