updated cmd.h
updated GraphicsLib and examples