Added form validation for new work record. Removed breaks from there and made them to be caluclated automatically. And a few sourrounding omprovements.