save_resume fixes and load_torrent function (to use with dynamically loaded torrents). add some text ui functionality based on cdk