Changed .css('display') to .hide() and .show() calls & a few more exact equality's and misc cleanups.