Fixed initial launch ignoring arguments

Also added minor things pertaining to gallery uploading, although the
uploading itself hasn't been implemented