added sample code in comment.
added AbstractGridBagPanel
cleanup
interface for flagging unsaved content.