added control-a and select all menu function