TUCKER: make _panelLockedFlag a boolean instead of an integer
TUCKER: Fix some values assigned to _csDataLoaded
TUCKER: Some more refactoring