Added debug information and comments in the function WS_InitCamera