One thing I noticed wrong is when you select .htm, it gives you .mrc files which is on \"if ($did(12).state)...\". Other than that, not bad.