I am a relative newbie to this and got my betta as a feature fish with a small community group.
Checking around the web it was pretty clear that this was overstocking of my Edge tank and so Jeffrey had to get his own.
I got a 2.6 gallon Spec. It was interesting to see how his behavior changed. More aggressive and he seemed stressed (water parameters great, I also added Purigen to avoid any ammonia spikes).
I've set up a 5 gallon Spec for him. No sharp edges anywhere and a soft substrate. He is SO much happier.
In this pic the tank is still coming up to temp so I have two heaters in there. I used the media from the smaller Spec and added SafeStart for cycling purposes.