close #41 and #43 and https://github.com/ensime/ensime-server/issues/506