Empties all vars
Adds BMUpdateButton API and resolves #38