some small changes
fixed internal inconsistencies so that urls can now be shortened significantly