Dans code tweaks

I went ahead and made some changes to try and help you out with the page.  I'll comment the lines I changed and try to illustrate why I did what I did.  If you want to get further help, just text or email me or we can hop into the chat.