thesis structure finished; minor fixes