Better error messages, fixed array bug, TODO str to num conversions.