fixed a few minor bugs, test build 1.09