Added a help file, find and fixed a few bugs.