Add constrains to avoid layout breaking on Lion
Fix crash on file opening on Lion (close #233)
Fix default setting for "comment at line head"