General revision

Some of the commands to work with xflux didn't seem to be correct, or at least weren't working as expected. I fixed that, fixed the issues with preview and color changing (issue 9 I think), and other defects with the UI. All of the core functionality seems to work and hopefully will be easier for people to update in the future.