Default Security and screen lock in settings crashes

Hello there, I seem to get a "unfortunately settings has crashed" whenever I try and get into the settings and screen lock tab. Every other option works fine. I am on a Motorola droid maxx xt1080 and can't seem to find any solution. I have tried a factory reset, and flashing with RSD lite. Also I can't seem to be able to install the latest update from 4.4. It goes through the motions then says install unsuccessful. Any help would be greatly appreciated. Also, I don't really care about the stuff on the phone, I have cloud backups so I'm good there.