Added some error handling to osu! JSON
Error handling & some clean-ups