Some work, getting the program all sorted out and.

stuff
Fixing exception