Fixed study mode bug, Added title support

When loading cards from a file the cards in the current stack are
removed. Bug fixed in study mode where user could attempt to access next
card when stack was empty. New title support added in controller and
title displayed in study mode.