Fixes 4.5
I made a number of fixes to 4.5. I know this is not the correct way to do, but I need to catch up with 4.6. Would it be possible to merge to 4.6 at a later stage? Also, most of commits are rather simple except the last one: there, the undocumented interactive mode was not really working well and I needed to make some deeper fixes. If the latter is too much, I would just revert it and keep it only for my own branch. thank you
Edited by Marco Ratto