Refactored code
Added panel selection capability

We can now crop panel 1 or panel 2.