Remove support for Grain termination by checking standard input. It's not usable for NetBeans IDE, unfortunately.