Fixed a divide by zero error
Minor QoL additions