largely fixed the pathanalyzer to not crash. it's still buggy tho