Finished up and polished the UI, adding some restraints on invalid values among other things