Began work on action menu. Made stack a global variable to eliminate unnecessary passing of stack to functions.