Fix handling shortcuts in tab tree
Fixed compiler warnings