Removed debug stuff.
More action functionality.