Corrected typo's, added client-side validation, fixed few bugs

Are you interested in my commits? I changed various things, both features and bugs