Added some function. Bug fixes

Implemented the logic for placing a Stone.
Fixed Several bugs.
------------------------
Known Bugs:
- a few display fails in the MainGui