Add input correction check + improvements
- redirect partly generated data to manualy generated
-- dialog shown
- small refactoring and code correction
- add fields to result (change_type,position_change)