Modify the program to support GPU incremental mode; Fixed some minor issues!