Trinitychat2:

*fix compile error for *nix
*fix loading commad levels from db.