Initial revision
1: Martin Hedenfalk <martin@bzero.se> 2: 3: Josh Myer <josh@joshisanerd.com> fixed a buffer-checking FIXME