Fixed missing headers on exported TIS files and more

- Fixed BIFFed TIS headers on single and mass export
- Fixed a bug that caused local TIS to be mass exported incorrectly
- Improved WMAP resource creation
- Bugfix in WMAP resource viewer
- Included extended window state in preferences
Optimized resource creation and some clean ups

- Removed DLG and MUS creation
- Removed redundant conditions
- Changed tabs into spaces for a number of files
Merge branch 'devel' into devel-ci

- Changed tabs into spaces for a number of files