first client and demo par
- added demo mode setting
- fixed tr