Added advanced options where the output format of the file can be configured.
Fixed some control positioning and sizing.