Cleanup and fix conditions for adding slider and mouse listener to frame
Utitly class for 3D arrays of variable size
Make public
research