Getting/Setting default project from preferences instead of using cookie. Fixes #11.