Fix jasmine tests, auto-focus on model changes, fix population tab selection