BUGFIX: after setting linewidth model ignored inheritance
BUGFIX: users wasn't asked if he really wanted to close when unsaved project is opened causing the main loop not to finish.