some fixes for no current document, the dragging needs a fixed ratio conversion.  Longer files still have the map overflow.. not sure why yet..