This has all been suggested many time before. I'll probably sound like a broken record but I don't care: riding technique and foot position are sufficient to avoid most nosedives, rather than trying to make the board smarter (which actually adds software complexity that makes the board less awesome).
- Set your feet farther back, so your front foot's heel is closer by the wheel, and your rear foot is almost at the back edge.
- Go more slowly up hills
- do a half-hop aka "get light" when you go over a pothole or a large bump
I used to nosedive all the time, I used to blame the board and it's design. Then I started doing these 3 things ^^^ and realized I'd be fine.