Added options to clone with checkout and/or barely. Also a random style fix.
Fixed a crasher. (That I ironically created in the previous commit)