Checked That Getpixel is Working, A few Cleanups.

Everything is Ready for a full AutoPot test and bug fixes.