Logger functioning, plus support for different resolutions and some small bug fixes