added gratuitous memory frees for valgrind clarity
added first bit of graphics
debugging graphics in progress
got basic checked background graphics working