CW: Improved logic for para/col. Simplified page parsed.