Use local thoughtpad obj instead of global

Signed-off-by: David Fisher-Moreau <deiform87@gmail.com>