Added example profrc config

issue #373
Assign GPOINTER_TO_INT value before freeing

fixes #375
Merge branch 'master' into ctrlnp