Various fixes

-Remember Details toggle fixed
-Threading fixes
-Download log trimming
-Code cleanup