tab init form save, orient and other vars, leading zeros fix