Fix #179

Fix Gray buffer settings

Fix fillgrayalpha!

Adjust tests for new color layout