pre-commit debug draw + some crash fixes