Minor improvements

Fix resolution and other small fixes