Fixing bugs and changing some default settings.