Area selection rectangle locked when recording

Hi 

I have made a simple (not perfect) way of locking the areaselection rectangle when a recording is in progress. 

Hope its good enough code quality and I have commented :-)

Kind regards
Ole aka Froksen