Create new study button

Minor other fixes, including Id.== hack that seems odd.