added zoom in/out feature for 640x480 and keyboard control.