gui framework
added intent to write
Added gui test and proper indenting for errors