Here ya go. It includes the "hostname" fix too. (Not an official release)
Just remind me when I make an official release to re-fix it for your voting request.
Updated: Updated this version to the latest. In fact, it was found that my previous "fix" didn't fix it because there was another variable that was too short. This is fixed now. You can have a longer "hostname" now.
I just now realized that you edited your post to inform me of this issue! Sorry I didn't see it sooner.