fixed scaling background and firefox issue
some important fixes and introduced the undo/redo functionalities, the group get/fitBounds but still some problems