Adding more debugging output
Automatically updating attribs when switching screens