Timeout functionality

To further prevent people from inadvertently or by intrusion gaining
access to PinCushion without permission, this new functionality will
close it after a period of inactivity of 5 minutes.