Fixed: Partially cleaned up the messy epilogue/prologue code generation.