core: add necessary imports
subs: prepare for opensubtitles API
main: fix folder alias creation
main: fix infinite loop
main: cleanup