fixed intend im image_operations. added modes for cam_test (including key input check). modes needs to be implemented.