Fix olist crasher.
Merge pull request #12 from zlangley/olist

Fix olist crasher.
Fix most compiler warnings and fix for OSX.
Merge pull request #13 from zlangley/warnings

Fix most compiler warnings and fix for OSX.
Fix more warnings and some style.
Merge pull request #14 from zlangley/warnings

Fix more warnings and some style.
Fix more warnings.
Merge pull request #15 from zlangley/warnings

Fix more warnings.