fixed small bugs in features and stats, overhauled the para library, shouldn't have issues with deadlock anymore