Wipe out downloads on remove only after other actions have run

git-svn-id: https://code.downthemall.net/repos/trunk@3754 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Fix initialization in existing windows

git-svn-id: https://code.downthemall.net/repos/trunk@3755 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Remove legacy tree getters

git-svn-id: https://code.downthemall.net/repos/trunk@3756 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Fix a border issue

git-svn-id: https://code.downthemall.net/repos/trunk@3757 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Make require() behave more according to commonjs (1.1)

git-svn-id: https://code.downthemall.net/repos/trunk@3758 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Make DB_FILE initialize the data dir

git-svn-id: https://code.downthemall.net/repos/trunk@3759 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Use relative requires where appropriate.

git-svn-id: https://code.downthemall.net/repos/trunk@3760 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Fix renamer tests for non-default seriesdigits

git-svn-id: https://code.downthemall.net/repos/trunk@3761 43940e1f-b481-bb45-89eb-5c6a4bf3d40a