Changed some stuff for the stack demo.
Removed some unneeded debug messages