Rk bug fixing

lots in here, woopsie daisies

however, python ftw.

Lots of bug fixing, adding tests, a cool new easter egg and makes it work when JS is not on!