added 3d view support

reworked object selection scheme
reworked zorder