Renamed some variables for readability
last commit of today
Got rid of $error and implemented HTML's <input required> attribute instead
More cleanup...