Added conditional compilition for server and client

Fixed some problems with muyltiplayer
Merge branch 'master' of https://github.com/Alekssasho/PogoPainter