Updated the interface and 2d graphics module.