Added input checks for keyboard and mouse.

- and few more draw wrappers.