Updated some rendering parts to increase performance.
Added double buffering to increase performance.
Fixed some performance issues with the texts.
Fixed a problem in the Device.js file.