A non imm B visa is not an authority to work per se. It is required before a work permit(wp) can be issued by your provincial labour office. An alternative to the B is a Non Imm O based on marriage to a Thai national. I worked on a WP for 9 years and never left - I extended annually at immigration. Having had a 5 year gap I am doing it all again.