Fixed issues brought up in IRC

modules/alias.cpp:
* no longer triggers compiler bug with old versions of GCC, causing compilation to fail with this message: http://pastebin.com/iK9weM8r

* refactored code around line 279 (space-padding a string) to be more readable