Show sample label in phenotype window title

Fix #67.

This also fixes some of the phenotype related logic and text regarding
error states.