added blocking read so we can add visualVM support
Merge branch 'master' of github.com:jonac/AI_project