added preferences, load data, filename, file menu, validating entries