Added title to the header panel. Also fixed so that Brackets dont get so angry at undefined $ and window objects.