Added 'real-time' selection and a few performance upgrades.