Code cleanup and updates to three.js birds stuff