fixed some stuff with objectmap, added cursor selection box