Make image uploading work in Chrome and Firefox.  Make default database order optional.