(refactor) Brake g div into variables instead of assinment chain. Fixes #24