Optimized the memory usage and fix some bugs
Merge branch 'newcon'

Conflicts:
	src/filters/gaussian.cpp
Merge branch 'master' of http://git2.niven.cn/ccplus