Capture a single area once..

Refactored code in preparation for capturing multiple areas in the same screen.

At the moment, if an area exists more than once, the last occurrence of the area is only saved!