Missing newline in logging
Added g_cupKey (refs #31)