Working prediction of damage

No so nice yet and needs reformatting of code
Allow "lock resos"

Avoid accidental dragndrop