-define('CODE_WRONG_PASS' , 1);
-define('CODE_WRONG_ID' , 2);
-define('CODE_ID_LOCKED' , 3);
-define('CODE_ID_UNCONFIRMED' , 4);
-define('CODE_UNKNOWN_STATUS' , 5);
-define('CODE_NO_COOKIES' , 6);
-define('CODE_CNTR_FAILED' , 8);
-define('CODE_LOGOUT_DONE' , 8);
-define('CODE_LOGOUT_FAILED' , 9);
-define('CODE_URL_TLOCK' , 10);
-define('CODE_URL_FOUND' , 11);
-define('CODE_OVERLENGTH' , 12);
-define('CODE_SUBJ_URL' , 13);
-define('CODE_BLIST_URL' , 14);
-define('CODE_NO_RECS_LEFT' , 15);
-define('CODE_INVALID_TAGS' , 16);
-define('CODE_MORE_POINTS' , 18);
-define('CODE_COOKIES_DISABLED' , 18);
-define('CODE_DATA_INVALID' , 19);
-define('CODE_POSSIBLE_INVALID' , 20);
-define('CODE_ACCOUNT_LOCKED' , 21);
-define('CODE_USER_404' , 22);
-define('CODE_STATS_404' , 23);
-define('CODE_ALREADY_CONFIRMED', 24);
-define('CODE_ERROR_MAILID' , 25);
-define('CODE_EXTENSION_PROBLEM', 26);
-define('CODE_MORE_RECEIVERS1' , 28);
-define('CODE_MORE_RECEIVERS2' , 28);
-define('CODE_MORE_RECEIVERS3' , 29);
-define('CODE_INVALID_URL' , 30);
-define('CODE_MENU_NOT_VALID' , 31);
-define('CODE_LOGIN_FAILED' , 32);
-define('CODE_BEG_SAME_AS_OWN' , 33);
+addCode('WRONG_PASS' , 0x001);
+addCode('WRONG_ID' , 0x002);
+addCode('ACCOUNT_LOCKED' , 0x003);
+addCode('ACCOUNT_UNCONFIRMED', 0x004);
+addCode('UNKNOWN_STATUS' , 0x005);
+addCode('NO_MAIL_TYPE' , 0x006);
+addCode('CNTR_FAILED' , 0x008);
+addCode('LOGOUT_DONE' , 0x008);
+addCode('LOGOUT_FAILED' , 0x009);
+addCode('URL_TLOCK' , 0x00a);
+addCode('URL_FOUND' , 0x00b);
+addCode('OVERLENGTH' , 0x00c);
+addCode('SUBJ_URL' , 0x00d);
+addCode('BLIST_URL' , 0x00e);
+addCode('NO_RECS_LEFT' , 0x00f);
+addCode('INVALID_TAGS' , 0x010);
+addCode('MORE_POINTS' , 0x011);
+addCode('COOKIES_DISABLED' , 0x012);
+addCode('DATA_INVALID' , 0x013);
+addCode('POSSIBLE_INVALID' , 0x014);
+addCode('USER_404' , 0x016);
+addCode('STATS_404' , 0x017);
+addCode('ALREADY_CONFIRMED' , 0x018);
+addCode('ERROR_MAILID' , 0x019);
+addCode('EXTENSION_PROBLEM' , 0x01a);
+addCode('MORE_RECEIVERS1' , 0x01b);
+addCode('MORE_RECEIVERS2' , 0x01c);
+addCode('MORE_RECEIVERS3' , 0x01d);
+addCode('INVALID_URL' , 0x01e);
+addCode('MENU_NOT_VALID' , 0x01f);
+addCode('LOGIN_FAILED' , 0x020);
+addCode('BEG_SAME_AS_OWN' , 0x021);
+addCode('UNHANDLED_STATUS' , 0x022);
+addCode('MODULE_MEMBER_ONLY' , 0x023);
+addCode('UNKNOWN_ERROR' , 0x024);
+
+// Full version
+setConfigEntry('FULL_VERSION', '0.2.1-FINAL');