Added buffer's size to the callback function. Added combobox to the Form, to choose the callback frame's type (rgb or jpeg).