Merge globals into single file, load options, and add text settings page