Unit selection + Object oriented some code + Cleanup

Still need to have the server confirm which unit appears as selected on
the client, so it doesn't appear as if they selected a unit they don't
own.