Cleaned up validation for text fields
Added mnemonics
Moved the frame to a separate class