Engine reimplemented, obsolete modes dropped and UI reworked.