Fixed some bugs.

Also added a print statement on the actions method to try to debug.
There is a negative one????