Adds const casting, sets up array wrapping in boost.
Fixes hang. Python will now run every frame without error.