Completely restructured the lastfm module, wwhich is now much more reliable and doesn't crash the bot anymore. Thanks to @philipnorton42 for the code.