corrected bug when trying to edit unexistant item (right-click in void)
corrected bug when trying to edit an item from main pannel with index above nb of leftPannel's items
fix #48, maybe in a complex manner