Fixed a boat load of bugs.

Added actual playable functionality with some small tweaks.

Next step, better features.`