Fixed layout saving
Added toolbar and improved menu system
Improved IsDirty method