Normalize package/class names.

+ Commit other IDEA-generated junk.
Use simple args.length check

Instead of catching ArrayIndexOutOfBoundsException.
Print simple error message

Instead of throwing an exception.