Added error messages for certain user inputs. Also fixed some issues.