Worked on graphical output

Added event stack to print on graphical version.
Cleaned up inclusion headers.
Modified print to take in a stream.