Fix some bugs
fix some bugs again.
Log done. Preview version!
Fuck!
merge dev to master. Preview Done!