cleaned up a lot of bugs, ajax loads, reselecting, etc