This seems like a recipe for errors; it looks as though you expect wb.10nHalfDone and the local l10nHalfDone to be identical, but this won't happen since it's a boolean variable. It might seem to work fine right now, since the local is only referenced in the init function, but ...