#1 rearranged the code a bit
#1 user defaults and gui ready for regular update
#1 regular update works