The frame dimensions doesn't work correctly yet but shouldn't have errors. Added a local user id.