Cleaned up lines over 80 cols
Added prototype for masking/unmasking frames