some cleaning and changes to avoid warnings
change in end_undo_action to avoid save an undo_item with no changes
c-w c-b home end keys in command mode
improved stuff in cmds_visual.c