Tweaks

Bunch of random things covered:
https://github.com/KSHSK/WAVED/issues/211 - Clean up getState and setState functions
https://github.com/KSHSK/WAVED/issues/256 - Preview bound data
https://github.com/KSHSK/WAVED/issues/257 - Rename the "Refresh" button
https://github.com/KSHSK/WAVED/issues/259 - Trim name to 50 after selecting a filename
https://github.com/KSHSK/WAVED/issues/261 - Workspace background not set on load