Fixed ASCII assumption for analysis.
Added extended window styles.
Made main edit read-only.