Added graphic size sensitivity to 74HC595
Some code and makefile cleanup