Set target CPU to AnyCPU where possible.
Fix some compiler warnings.
Don't show the context action popup when the caret is outside the editor boundaries