[refs #79] hardened the automatic board detection algorithm, if anything goes wrong it just stops and doesn't modify the p0, ..., p3 parameters
[fixes #100] The intersection points to board coords mapping can now handle y-values that vary a bit