fixed a bug where the reloading of plugins in visualization mode forces a user to change back to visualization mode twice
updated java doc