Fix settings error messages.
Added dev.rb for development convenience.