Fixed deprecated code, a few other tweaks in organization

show() should be setVisible(true) = compiler no longer throws
deprecated warnings