Added GUI for the Perpetual Motion Machine, plus other tweaks.