minor fixes, add: universal alert function. form validation