Fixed some bugs, splitted readprojects into two files, added option to set start page.