load_stack : fixed indexing and cleaned up

maybe some comments would be nice ...

but most importantly...

IT WORKS!