fix #527: Code Completion Options broken in 5.0
fix #151: Add option "Complete only when pressing Return/Tab"