Added comments to display. Prevent the user from making resistance negative. Removed some things that don't do anything.