Issue: #51

  * Added save button to file menu
Issue: #52

  * Added save logic
Fixed gcode generation