Redesigned the engine package.
Proper validation of the path to the character file, thanks Ryley and Arham.
Reformatting.
Fixed a bunch of resource leaks, the player data directory will now also be automatically created.