fixed bug in list delete

Ignore-this: 4d72908a4de9ee290e5dd4c312e1fde5

darcs-hash:20140407180557-c21fe-0e088ab079279d62ed32f41ad208f4371a37f716
removed mutex locks

Ignore-this: 84484bd1371b8d7dfc72634a2702594e

The gui events are only happening in one thread and the script is run from the gui thread.
In the future each app will run in its own thread, but until then removed locks which are
not nessasary

darcs-hash:20140407180627-c21fe-ad38d0dfea8d30182e18be4e982a9a7586efd021
fixed bug in getKeys that put the lua vm in bad state causing crashes

Ignore-this: 47ccb2adf8c73f0506cfab9b968ef745

darcs-hash:20140407180738-c21fe-bb2481dea79612139179b0595521c9704449fb54