Some bugs fixed, some removed.
Added documentation lookup.