Added update check, moved layout onto GPU.

Fixes #31