Performance and memory improvements. Also some semantic changes with
errors.
Improve memory management.
Merge branch 'master' of github.com:nfleet/via