Removed seg faults and enabled protected mode.