made NAME and VERSION variables read-only, many small fixes, updated README