Changed NOHIDE flag to DEV_MODE flag, and used it to temporarily disable logInput