Ignore ST files.
Added some comments.
Fix compile errors.