fixes #787
- Better exception handling when no keys specified
- Refactored window records fetching to util and use in controllers
- AS/400 online example