Fixed Static Errors Eclipse was complained about.

Also moved Pixel to its own .java file to fixe its static errors.