Clipboard fix. local vim support. some java checking