Fixed some bugs and can now add torrents