Many functions updated. Syntax analysis almost complete. A few functions need finishing.