Potential fix for the bug where omnisharp doesn't work unless there is a trailing newline in the file.
imenu automatically activated when omnisharp-mode is activated.