* Update CSS
        * Minor reformatting
        * Code simplification
        * Rewriting to remove risk of program error