Add Java mode. Change backup and autosave directory.