Fix bug in submodule support
Add support for using modes in first ctrlp

Closes #1