Color adjustments for res-nightmode + bugfix

Adjusted FG color and image transparency for Google Charts images when using Reddit Enhancement Suite's nightmode. Also added a check to prevent warnings stemming from undefined frame objects (need to wheedle out the cause on that later).