Automatic reset of disconnected input slots and various fixes.