Clean up Warnings

We use -Wfloat-equal and -Wswitch-enum and also want to have Warnings=Error.

This change will correct the 3 outstanding warnings with JASidePanels.