Update to 1.0.4

major changes. mostly for the auto updater.