fixed a bug that causes hanging on non CUA key maps
added sample configuration file