Add stackChanged() to StackMachineListener.java