Added stop() function, corrected WaitKey(...) function