Added automatically deallocating of pointers and callbacks

- Fixed and extended PythonLog()
- Renamed get_address() to get_pointer()