End Scene Functionality

Pretty much complete end scene functionality code-wise.