Added missing "invalid" sound effect.

Other changes:
- Minor code cleanup.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>