Fixed some bugs, starting work on bears.