Adding bounce effect to selections, cleaning up db code, etc.

Adding bounce effect to selections, cleaning up db code, etc.