Fixed a lot of bugs
Merge remote-tracking branch 'origin/master'