filled in fg(), bg(), and xy() [ from @sabren/b4 8/9/2012 ]