Vim likes .mkd better
Fixed some bugs with the query prep