Added configurations widget. Minor code style changes.