Added save_bin method. Center the canvas inside the frame if it's smaller. Some changes to how positions of menu, etc. are determined. This is not great, but it'll do.