Counterpick Labs: Performance Optimizations (0.32.0)

This patch includes some major under-the-hood code optimizations. Not the most exciting in terms of content but it allows me to work on some more exciting features that were previously held back by performance concerns.…