created some defines to select draw mode
added draw function with display list
changes cDatafield to use std::vector instead of array