Allow to store a frame and a value in a thread
Fix psipda tests
Save frame in KontState, fix some hashCode functions