Issue #5 almost fixed Need to find out about the paned positions