Non saved files are now marked until save action. Plus minor improvements.