Tidying up code, bug fixes and minor improvements