Two fixes: SHIFT and CTRL key usage with mouse; workaround for all-line axial map crash

Each of these two commits are small, single-location changes to single files, covering issues #12 and #13. The all-line crash fix is a workaround that doesn't address the underlying issue (see p2dpoly.h comment for the full detail).