fix crash on incorrect PAINT call with pattern
follow GW: 'bad file number' on forward slashes in LOAD, OPEN
fix crash on VAL(X) where X is a FIELD variable
CLOSE without number closes all files