1. Nope, not possible to make dotted lines (only in AS3), unless, of course if we drew many lines, but that'd require a lot of coding and also re-write the current coding, so let's just leave it as it is right now.
2. It's working perfectly here. For the 2 codes that are like this:

Actionscript Code:
if((difference < 85) || (difference > 95) && (correct == true))

Instead, join the OR statements together:

Actionscript Code:
if((difference < 85 || difference > 95) && (correct == true))

and see if that makes any difference. And please, if you post anymore code, please put it in AS tags (press the button that looks like this; AS )