Try getting a bitmap context for master now that it works on my system
Stop using deprecated stuff