Modernize shmile codebase

I got stuff working, and switched most of the dependencies to not be >= (as things would have soon stopped working with newer versions of connect for example). Also fixed some deprecation shouts.