Added some rudimentary (buggy) mouse picking code.