added gui output for stacks and generally printing values. Needs improvement, though.