refactored init and zoomtofit bug fix
labels moved, buttons changed