Initial port from HGE to SFML (issue #12).