updated input management and grid highlight
bugfixes