Snowie/ponystation13 — pull request #2 by Snowie (2012-10-26 19:00:17+00:00)
Title: For upstream

Add some functions relevant to master that were written in SnakeBed. (Hopefully puling from the correct branch this time.)