Status window starting to work. May have been slightly borrowed from KMP...