Added handling for undesired keys in placeholder dialog "name" field.
Updated comments + minor codestyle change.