First working copy of cam_getFrame ... integrated with simplecv ... very rough and code is a mess.