better exception handling, support for linux and not jus windows, fix so the recording will be made to the original image
switched right and left to fit the displayed image