finished up proper specs, and took out some tired brain logic in behaviour tree