add stand.h; move appropriate declarations there
finish color getter; create first color constants --
also miscellaneous consistency changes and bugfixes
use exact ineger types to match mono primatives
fix header dependencies