fix crash on quit
fix layout view pan bounds
add comments, add to README
add doxyfile