Merge pull request #1 from DownloadMii/master

update
fixed of by one in drawPixel
Merge pull request #3 from ichfly/master

 fixed of by one in drawPixel and added debug stuff